package cn.echo.modules.sys.dao;

import cn.echo.modules.sys.entity.SysAdmin;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by Administrator on 2017/4/9.
 */
public interface SysAdminMapper {
    public SysAdmin findAllCreateSiteByAdminId(@Param("admin") SysAdmin sysAdmin,
                                               @Param("title") String title);

    public List<SysAdmin> findAll(SysAdmin sysAdmin);

    public boolean insertAdmin(SysAdmin sysAdmin);

    public boolean updateAdmin(SysAdmin sysAdmin);

   public boolean delAdmin(SysAdmin sysAdmin);

    public SysAdmin findById(@Param("id") String id);
}

